package cn.lix.sc.rpc.server.service.impl;

import cn.lix.sc.rpc.impl.common.annotations.RpcService;
import cn.lix.sc.rpc.service.demo.dto.User;
import cn.lix.sc.rpc.service.demo.service.TestService;

@RpcService
public class TestServiceImpl2 implements TestService {

    @Override
    public User hello(Integer a, String name, Boolean test) {
        return new User(a, "TestServiceImpl2.hello" + name, test);
    }

    @Override
    public String hello2(User user) {
        return "TestServiceImpl2.hjello";
    }

    @Override
    public void hello3() {
        System.out.println("TestServiceImpl2.hello3");
    }

}
